﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ComicBookApp.DataModels
{
    /// <summary>
    /// Intermediate object for linking creators with comic books in a many-to-many relationship
    /// </summary>
    public class ComicBookCreator
    {
        public int Id { get; set; }
        public int ComicBookId { get; set; }
        public int CreatorId { get; set; }

        public ComicBookCreator() { }

        public ComicBookCreator(int comicBookId, int creatorId)
        {
            ComicBookId = comicBookId;
            CreatorId = creatorId;
        }

    }
}
